<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>酒店后台管理系统</title>
  <link rel="stylesheet" href="css/layui.css">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo">酒店后台管理系统</div>
    <!-- 头部区域（可配合layui已有的水平导航） -->
    <ul class="layui-nav layui-layout-left">
      <li class="layui-nav-item"><a href="">订单管理</a></li>
      <li class="layui-nav-item"><a href="">营业查询</a></li>
      <li class="layui-nav-item"><a href="">系统设置</a></li>
      <li class="layui-nav-item">
        <a href="javascript:;">其它系统</a>
        <dl class="layui-nav-child">
          <dd><a href="test.html">邮件管理</a></dd>
          <dd><a href="">消息管理</a></dd>
          <dd><a href="">授权管理</a></dd>
        </dl>
      </li>
    </ul>
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item">
        <a href="javascript:;">
          <img src="http://t.cn/RCzsdCq" class="layui-nav-img">
          贤心
        </a>
        <dl class="layui-nav-child">
          <dd><a href="">基本资料</a></dd>
          <dd><a href="">安全设置</a></dd>
        </dl>
      </li>
      <li class="layui-nav-item"><a href="">退了</a></li>
    </ul>
  </div>
  
  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree"  lay-filter="test">
        <li class="layui-nav-item layui-nav-itemed">
          <a class="" href="javascript:;">订单管理</a>
          <dl class="layui-nav-child">
            <dd><a href="javascript:;">线下开单</a></dd>
            <dd><a href="javascript:;">宾客退房</a></dd>
            <dd><a href="javascript:;">订单管理</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item">
          <a href="javascript:;">营业查询</a>
          <dl class="layui-nav-child">
            <dd><a href="javascript:;">入住宾客查询</a></dd>
						<dd><a href="javascript:;">会员查询</a></dd>
						<dd><a href="javascript:;">房间状态查询</a></dd>
            <dd><a href="javascript:;">日/月营业查询</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item">
          <a href="javascript:;">系统设置</a>
          <dl class="layui-nav-child">
            <dd><a href="javascript:;">VIP设置</a></dd>
        		<dd><a href="javascript:;">计费设置</a></dd>
        		<dd><a href="javascript:;">房间设置</a></dd>
            <dd><a href="javascript:;">数据管理</a></dd>
						<dd><a href="javascript:;">操作员设置</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item"><a href="">发布商品</a></li>
      </ul>
    </div>
  </div>
  
  <div class="layui-body">
    <!-- 内容主体区域 -->
	<form class="layui-form" action="">
		
		<div class="layui-order-message">
			下单信息
			<hr class="layui-bg-green">
		</div>
		
		<div class="layui-form-item">
		  <label class="layui-form-label">房间号</label>
		  <div class="layui-input-inline">
		    <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入房间号" class="layui-input">
		  </div>
		</div>
		
		<div class="layui-form-item">
		  <div class="layui-inline">
			<label class="layui-form-label">入住时间</label>
			<div class="layui-input-inline">
			  <input type="text" name="date" id="start-time" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
			</div>
		  </div>
		  <div class="layui-inline">
			<label class="layui-form-label">至</label>
			<div class="layui-input-inline">
					<input type="text" name="date" id="end-time" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">	      </div>
		  </div>
		</div>
		
	  <div class="layui-form-item">
	    <label class="layui-form-label">房间总价</label>
	    <div class="layui-input-inline">
	      <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入标题" class="layui-input">
	    </div>
	  </div>
	  
	  <div class="layui-order-message">
	  	入住信息
	  	<hr class="layui-bg-green">
	  </div>
	  
	  <div class="layui-form-item">
	    <label class="layui-form-label">入住人</label>
	    <div class="layui-input-inline">
	      <input type="text" name="username" lay-verify="required" lay-reqtext="用户名是必填项，岂能为空？" placeholder="请输入" autocomplete="off" class="layui-input">
	    </div>
	  </div>
	  
	  <div class="layui-form-item">
	    <div class="layui-inline">
	      <label class="layui-form-label">手机号</label>
	      <div class="layui-input-inline">
	        <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
	      </div>
	    </div>
	  </div>
	  
	  <div class="layui-form-item">
	    <label class="layui-form-label">身份证</label>
	    <div class="layui-input-block">
	      <input type="text" name="identity" lay-verify="identity" placeholder="请输入身份证" autocomplete="off" class="layui-input">
	    </div>
	  </div>
		
	  <div class="layui-form-item">
	    <div class="layui-input-block">
	      <button class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
	      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
	    </div>
	  </div>
	</form>
  </div>
  
  <div class="layui-footer">
    <!-- 底部固定区域 -->
    © layui.com - 底部固定区域
  </div>
</div>
<script src="layui.js"></script>
<script>
//JavaScript代码区域
layui.use('element', function(){
  var element = layui.element;
  
});
layui.use('laydate', function(){
	var laydate = layui.laydate;
	//国际版
	/* laydate.render({
		elem: '#test1-1'
		,lang: 'en'
	}); */
	//前后若干天可选，这里以7天为例
	laydate.render({
	  elem: '#start-time'
	  ,min: 0
	  ,max: 30
	  ,range: true,
	});
	laydate.render({
	  elem: '#end-time'
	  ,min: 1
	  ,max: 30
	  ,range: true,
	});
	/* laydate.render({
		elem: '#test1-2'
		,lang: 'en'
	}); */
});
</script>
</body>
</html>